//
//  XMLNode.h
//  Alfresco
//
//  Created by Michael Muller on 8/22/09.
//  Copyright 2010 Zia Consulting.  Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php 
//

#import <Foundation/Foundation.h>

@interface XMLNode : NSObject {
	NSDictionary *attributes;
	NSString *tagName;
	NSMutableArray *children;
	NSMutableString *body;
}

@property (nonatomic, retain) NSDictionary *attributes;
@property (nonatomic, retain) NSString *tagName;
@property (nonatomic, retain) NSMutableArray *children;
@property (nonatomic, retain) NSMutableString *body;

- (void) appendStringToBody:(NSString *) str;
- (void) addChild:(XMLNode *) child;
- (NSString *) dumpToString:(NSMutableString *)str indent:(int)indent;

@end
